package com.aaa.statistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.aaa.statistics.mapper")
@EnableTransactionManagement  //开启主启动事务
//开启feign注解驱动
@EnableFeignClients
public class StatisticsApp {

    public static void main(String[] args) {
        SpringApplication.run(StatisticsApp.class,args);
    }
}
